//
//  CSResourceManager.m
//  Pods
//
//  Created by SoulFireWang on 2017/6/5.
//
//

#import "CSResourceManager.h"

@implementation CSResourceManager

static NSMutableDictionary *_resourceBase;

+(void)loadImage:(UIImage *)image key:(NSString *)key{
    if (_resourceBase == nil) {
        _resourceBase = [NSMutableDictionary new];
    }
    
    if (image == nil
        || [key isEqualToString:@""]
        || key == nil) {
        return;
    }
    
    [_resourceBase setObject:image forKey:key];
}


@end
